<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Mercurial</title>
    <link href="../templates/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="nav"> 
        <h1 id="sitename"><a href="#">Sublime Text Wiki</a></h1> 
        <ul id="menu"> 
            <li class="active"><a href="../index.html" title="Home" accesskey="h"><span>H</span>ome</a></li> 
            <li><a href="../pages/This-site.html" title="About" accesskey="b"><span>A</span>bout</a></li>
            <li><a href="../pages/Documents.html" title="Documents" accesskey="c"><span>D</span>ocuments</a></li> 
        </ul> 
    </div>

    <div id="wrap">

        <div id="header">
        </div>

        <div id="topbar"> 
            <ul class="breadcrumb"> 
                <li>You Are Here &raquo;</li> 
                <li>sublimetextwiki.com &raquo; Packages &raquo; <a href="http://sublime-text-community-packages.googlecode.com/svn/pages/Mercurial.html">Mercurial</a></li> 
            </ul>
        </div>

        <div id="content">
            <div class="post">

                <div class="postheader">
                    <h2>The Mercurial Plugin</h2>
                </div>

                <p>This plugin is designed to provide an integrated interface to the most commonly used features of Mercurial.
</p>

<h1>Easy Installation</h1>
<p>Find the Mercurial package on http://sublimetextwiki.com, download it, and double click-it.
</p>
<p>Sublime Text should recognize and install it.
</p>
<p>After you double click it, restart Sublime Text.
</p>
<p>This will give you keybindings for Commit, Add, Remove, and Diff actions.
</p>

<h1>Manual Installation</h1>
<p>Copy the "MercurialCommand.py" and "MercurialCommand.package-menu" files to your PackagesUser folder:
       - On Vista, this is UsersUserNameAppDataRoamingSublime TextPackagesUser
       - On XP, this is Documents and SettingsUserNameApplication DataSublime TextPackagesUser\
</p>
<p>Optionally, alter your "Default.sublime-keymap" file and create any shortcuts you wish. Some examples are provided with the plugin.
</p>

<h1>Usage</h1>
<p>There is a pull-down menu under Tools-&gt;Packages-&gt;Mercurial that provides access to all the commands provided by the plugin.
</p>
<p>You may also map any of the Mercurial commands to a keystroke and use them in that way.
</p>
<p>A thing to note is that this command uses the currently open buffer to determine the file path where the commands should be run from.
</p>

<h1>Notes</h1>
<p>When using the revert command, you must change to another open buffer or close 
   and reopen the buffer in question. This is because Sublime Text needs to realize
   that the file has been modified outside the editor so it can be reloaded.
</p>

                <div class="clear"> &nbsp; </div> 

                <h2>To Install This Plugin</h2>

                <ol>
                    <li>download the <a href="http://sublime-text-community-packages.googlecode.com/svn/packages/Mercurial.sublime-package ">Mercurial Plugin</a> to your local hard-drive.</li>
                    <li>double-click the package file</li>
                    <li>restart Sublime Text</li>
                </ol>

                <h2>For Developers</h2>

                <ul>
                    <li>This source code for this plugin is available at <a href="http://sublime-text-community-packages.googlecode.com/svn/trunk/Mercurial">google code.</a></li>
                    <li>Google provides <a href="http://code.google.com/p/sublime-text-community-packages/source/checkout">instructions for checking out the code</a></li>
                </ul>
            </div>
        </div>
        
        <div id="footerlinks"> 
            <ul id="footernav"> 
                <li><a href="../index.html" title="Home" accesskey="h"><span>H</span>ome</a></li> 
                <li><a href="../pages/This-site.html" title="About" accesskey="b"><span>A</span>bout</a></li> 
                <li><a href="../pages/Packages.html" title="Packages" accesskey="a"><span>P</span>ackages</a></li> 
            </ul> 
        </div>
        
        <div id="bottom">
            <p>Sublime Text Wiki &copy; All rights reserved | Valid XHTML</p>
            <!-- Do not alter or delete this from the template ================================================ -->  
            <p class="credit"><a href="http://www.ramblingsoul.com" title="Download Free CSS Website Templates">CSS Template</a> By RamblingSoul</p> 
            <!-- ============================================================================================== --> 
        </div>

    </div>

</body>

</html>
